package com.tangyuan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tangyuan.model.UserCoordination2;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 小梁
 * @since 2020-12-03
 */
@Repository
public interface UserCoordination2Mapper extends BaseMapper<UserCoordination2> {

    List<UserCoordination2> getUserCoordination2PageByUserId1(Long userId1);

    List<UserCoordination2> getUserCoordination2ByUserId1(@Param("userIds")List<Long> userIds);

    UserCoordination2 getUserCoordination2(@Param("userId1") Long userId1, @Param("userId2")Long userId2);
}
